<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        console.log(Boolean(''));//flase
        console.log(Boolean(0));//flase
        console.log(Boolean(NaN));//flase
        console.log(Boolean(undefined));//flase
        console.log(Boolean('1236'));//true
        console.log(Boolean('你好吗'));//true
    </script>
</head>
<body>
    
</body>
</html>